Skip to content

Commit

Permalink
Merge pull request #1390 from dedis/work-fe2-jpluss-single_activity
Browse files Browse the repository at this point in the history
Single Lao Activity
  • Loading branch information
jbsv authored Feb 21, 2023
2 parents ff42d63 + d4eac43 commit a332107
Show file tree
Hide file tree
Showing 158 changed files with 3,224 additions and 3,098 deletions.
6 changes: 1 addition & 5 deletions fe2-android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ui.detail.LaoDetailActivity"
android:windowSoftInputMode="adjustPan" />
<activity android:name=".ui.socialmedia.SocialMediaActivity" />
<activity android:name=".ui.digitalcash.DigitalCashActivity" />
<activity android:name=".ui.lao.LaoActivity" />

<uses-library
android:name="android.test.runner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import com.github.dedis.popstellar.di.KeysetModule.WalletKeyset;
import com.github.dedis.popstellar.model.objects.security.PoPToken;
import com.github.dedis.popstellar.model.objects.security.PublicKey;
import com.github.dedis.popstellar.ui.wallet.stellar.SLIP10;
import com.github.dedis.popstellar.ui.home.wallet.stellar.SLIP10;
import com.github.dedis.popstellar.utility.error.keys.*;
import com.google.crypto.tink.Aead;
import com.google.crypto.tink.integration.android.AndroidKeysetManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public Observable<Election> getElectionObservable(
* @return an observable that will be updated with the set of all election's ids
*/
@NonNull
public Observable<Set<Election>> getElectionsObservable(@NonNull String laoId) {
public Observable<Set<Election>> getElectionsObservableInLao(@NonNull String laoId) {
return getLaoElections(laoId).getElectionsSubject();
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.github.dedis.popstellar.ui;

import androidx.annotation.StringRes;

public interface PopViewModel {
void setPageTitle(@StringRes int title);

String getLaoId();
}

This file was deleted.

Loading

0 comments on commit a332107

Please sign in to comment.