mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 06:17:26 +01:00 
			
		
		
		
	change: Rename contacts to friends
This commit is contained in:
		
							parent
							
								
									9fbfca6e04
								
							
						
					
					
						commit
						87227c601a
					
				@ -35,7 +35,7 @@ class DefaultBottomNavigationBar extends StatelessWidget {
 | 
			
		||||
      items: [
 | 
			
		||||
        BottomNavigationBarItem(
 | 
			
		||||
          icon: Icon(currentIndex == 0 ? Icons.people : Icons.people_outlined),
 | 
			
		||||
          label: L10n.of(context).contacts,
 | 
			
		||||
          label: L10n.of(context).friends,
 | 
			
		||||
        ),
 | 
			
		||||
        BottomNavigationBarItem(
 | 
			
		||||
          icon: Icon(currentIndex == 1
 | 
			
		||||
 | 
			
		||||
@ -1158,8 +1158,8 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "addNewContact": "Add new contact",
 | 
			
		||||
  "@addNewContact": {
 | 
			
		||||
  "addNewFriend": "Add new friend",
 | 
			
		||||
  "@addNewFriend": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
@ -1485,8 +1485,8 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "contacts": "Contacts",
 | 
			
		||||
  "@contacts": {
 | 
			
		||||
  "friends": "Friends",
 | 
			
		||||
  "@friends": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
@ -87,7 +87,7 @@ class _ContactsState extends State<Contacts> {
 | 
			
		||||
      appBar: AppBar(
 | 
			
		||||
        automaticallyImplyLeading: false,
 | 
			
		||||
        elevation: 1,
 | 
			
		||||
        title: Text(L10n.of(context).contacts),
 | 
			
		||||
        title: Text(L10n.of(context).friends),
 | 
			
		||||
        actions: [
 | 
			
		||||
          TextButton.icon(
 | 
			
		||||
            label: Text(
 | 
			
		||||
@ -123,7 +123,7 @@ class _ContactsState extends State<Contacts> {
 | 
			
		||||
                      backgroundColor: Theme.of(context).primaryColor,
 | 
			
		||||
                      foregroundColor: Colors.white,
 | 
			
		||||
                    ),
 | 
			
		||||
                    title: Text(L10n.of(context).addNewContact),
 | 
			
		||||
                    title: Text(L10n.of(context).addNewFriend),
 | 
			
		||||
                    onTap: () => AdaptivePageLayout.of(context)
 | 
			
		||||
                        .pushNamed('/newprivatechat'),
 | 
			
		||||
                  ),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user